package com.mxnet.chongjin.supoman.activity;

import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.mxnet.chongjin.supoman.R;

public class CustomerIndexActivity extends AppCompatActivity {
    private ImageView mImageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_customer_index);

        getWindow().getDecorView().setSystemUiVisibility(
                View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
        getWindow().setStatusBarColor(Color.TRANSPARENT);

        initView();
        initData();
    }

    public void initView() {
        mImageView = findViewById(R.id.iv_cus_index);
        mImageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(CustomerIndexActivity.this, ChooseMachineActivity.class);
                CustomerIndexActivity.this.startActivity(intent);
            }
        });
    }

    public void initData() {

    }
}
